package com.liik.bomb;

import com.liik.bomb.screen.action.BombGameController;
import com.liik.bomb.screen.action.BombGameModel;
import com.liik.bomb.screen.action.SpriteBasedBombGameRenderer;
import com.liik.bomb.screen.level.LevelChooserController;
import com.liik.bomb.screen.level.LevelChooserModel;
import com.liik.bomb.screen.level.LevelChooserRenderer;
import com.liik.bomb.screen.main.MainMenuController;
import com.liik.bomb.screen.main.MainMenuModel;
import com.liik.bomb.screen.main.MainMenuRenderer;
import com.liik.game.GameActivity;
import com.liik.game.ScreenHolder;

public class BombActivity extends GameActivity {

	public static final int SCREEN_ID_MAIN_MENU = 0;
	public static final int SCREEN_ID_LEVELS = 1;
	public static final int SCREEN_ID_BOMB_GAME = 2;
	
	public BombActivity() {
		super(new ScreenHolder(3));
		screenHolder.addGameModel(SCREEN_ID_MAIN_MENU, new MainMenuModel(), new MainMenuController(), new MainMenuRenderer());
		screenHolder.addGameModel(SCREEN_ID_LEVELS, new LevelChooserModel(), new LevelChooserController(), new LevelChooserRenderer());
		screenHolder.addGameModel(SCREEN_ID_BOMB_GAME, new BombGameModel(), new BombGameController(), new SpriteBasedBombGameRenderer());
		screenHolder.pushScreen(SCREEN_ID_MAIN_MENU, null);
	}
}
